﻿@{
    Layout = "_Layout.cshtml";
    ViewBag.ShowFoot = false;
}


<h3 class="page-title">首页 <small>statistics and more</small>
</h3>
<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="index.html">首页</a>
        <i class="icon-angle-right"></i>
    </li>
    <li><a href="#">新闻管理</a></li>
    <li class="pull-right no-text-shadow">
        <div id="dashboard-report-range" class="dashboard-date-range tooltips no-tooltip-on-touch-device responsive" data-tablet="" data-desktop="tooltips" data-placement="top" data-original-title="Change dashboard date range">
            <i class="icon-calendar"></i>
            <span></span>
            <i class="icon-angle-down"></i>
        </div>
    </li>
</ul>
@RenderBody()
<script>
    $(document).ready(function () {
        $(".DeleteAction").each(function () {
            var obj = $(this);
            var href = obj.attr('href');
            obj.attr('href', '#');

            obj.click(function () {
                if (confirm('是否确定删除?')) {
                    location.href = href;
                }
            });
        });
    });
</script>
